[INFO] cloning repository https://github.com/hobinjk/mqtt-adapter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hobinjk/mqtt-adapter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhobinjk%2Fmqtt-adapter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhobinjk%2Fmqtt-adapter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bea682950fd77f4a77861c6bbae7cd14e85776ba
[INFO] building hobinjk/mqtt-adapter against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhobinjk%2Fmqtt-adapter" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hobinjk/mqtt-adapter on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/hobinjk/mqtt-adapter
[INFO] finished tweaking git repo https://github.com/hobinjk/mqtt-adapter
[INFO] tweaked toml for git repo https://github.com/hobinjk/mqtt-adapter written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/hobinjk/mqtt-adapter already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mqtt3 v0.1.4
[INFO] [stderr]   Downloaded nanomsg-sys v0.6.2
[INFO] [stderr]   Downloaded nanomsg v0.6.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a3a1435dd06adf63c0246bcc6731d227ff1adc8754e07562eb2f87dfdb1a2059
[INFO] running `Command { std: "docker" "start" "-a" "a3a1435dd06adf63c0246bcc6731d227ff1adc8754e07562eb2f87dfdb1a2059", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3a1435dd06adf63c0246bcc6731d227ff1adc8754e07562eb2f87dfdb1a2059", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3a1435dd06adf63c0246bcc6731d227ff1adc8754e07562eb2f87dfdb1a2059", kill_on_drop: false }`
[INFO] [stdout] a3a1435dd06adf63c0246bcc6731d227ff1adc8754e07562eb2f87dfdb1a2059
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ce08baa79967c093596dae4e8c0e590bdf78843e5e32d63915f8695b847d8b80
[INFO] running `Command { std: "docker" "start" "-a" "ce08baa79967c093596dae4e8c0e590bdf78843e5e32d63915f8695b847d8b80", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.4
[INFO] [stderr]    Compiling gcc v0.3.54
[INFO] [stderr]    Compiling pkg-config v0.3.9
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling libc v0.2.36
[INFO] [stderr]    Compiling byteorder v0.4.2
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling serde v1.0.27
[INFO] [stderr]    Compiling num-traits v0.1.42
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling cmake v0.1.29
[INFO] [stderr]    Compiling dtoa v0.4.2
[INFO] [stderr]    Compiling mqtt3 v0.1.4
[INFO] [stderr]    Compiling nanomsg-sys v0.6.2
[INFO] [stderr]    Compiling nanomsg v0.6.2
[INFO] [stderr]    Compiling serde_derive_internals v0.19.0
[INFO] [stderr]    Compiling serde_derive v1.0.27
[INFO] [stderr]    Compiling serde_json v1.0.9
[INFO] [stderr]    Compiling mqtt-adapter v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/gateway.rs:257:23
[INFO] [stdout]     |
[INFO] [stdout] 257 |     where E: Into<Box<std::error::Error+Send+Sync>> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 257 |     where E: Into<Box<dyn std::error::Error+Send+Sync>> {
[INFO] [stdout]     |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `PluginUnloaded`, `AdapterUnloaded` and `HandleDeviceRemoved` are never constructed
[INFO] [stdout]    --> src/gateway.rs:92:5
[INFO] [stdout]     |
[INFO] [stdout] 90  | pub enum PluginMessage {
[INFO] [stdout]     |          ------------- variants in this enum
[INFO] [stdout] 91  |     #[serde(rename_all = "camelCase")]
[INFO] [stdout] 92  |     PluginUnloaded {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96  |     AdapterUnloaded {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     HandleDeviceRemoved {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `PluginMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcptAMuy/symbols.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.mqtt_adapter.423b4a36-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1.21ft57u2xinfwr6j.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/local/lib" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-4aeeb4e3c337106d.rlib" "/opt/rustwide/target/debug/deps/libdtoa-906e71d603115925.rlib" "/opt/rustwide/target/debug/deps/libitoa-98b6757de389df36.rlib" "/opt/rustwide/target/debug/deps/libserde-eea595d7f70862fa.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-ac7b986f51a40e50.rlib" "/opt/rustwide/target/debug/deps/libnanomsg-0902d8cb741dfbab.rlib" "/opt/rustwide/target/debug/deps/libnanomsg_sys-15a9f06481e09351.rlib" "/opt/rustwide/target/debug/deps/liblibc-5603fc2715564cad.rlib" "/opt/rustwide/target/debug/deps/libmqtt3-cb6c455d9d9a7c4c.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-9f183c17e77e6bb5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e13cbb326bcd01a4.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13ac6af5403a52c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a7b8febdd2acb289.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-343513f0726f71ed.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8f833d900bfb98aa.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e97a7960ca6216c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb8c561e8c8eb24d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a45121889bb564ec.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f943c2d34bd4b56d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-72ce2aaa649404e0.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ac5d08ad5339e92e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-dacfda262d5656fb.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2056a834ba0712c.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a60649c148c6e2db.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3e961d059b9bcde7.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20f26f875d0170e2.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lnanomsg" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/mqtt_adapter-c44df2b495d12ed1" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lnanomsg
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mqtt-adapter` due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ce08baa79967c093596dae4e8c0e590bdf78843e5e32d63915f8695b847d8b80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce08baa79967c093596dae4e8c0e590bdf78843e5e32d63915f8695b847d8b80", kill_on_drop: false }`
[INFO] [stdout] ce08baa79967c093596dae4e8c0e590bdf78843e5e32d63915f8695b847d8b80
